<@compress single_line=isCompress>
<!DOCTYPE html>
<html>
<head>
<title>付款账户管理</title>
<#include "/pager/common/quote.html" />
</head>
<body>
    <div class="body-center">
        <div class="html-panel query-panel" id="query_con">
            <div class="panel-header"><div class="panel-title">查询条件</div></div>
            <div class="panel-content" id="menuMgrPanel">
                <form onsubmit="return false;" id="queryForm" class="form_style">
                    <span class="spacing"><label>BSB：</label><input type="text" name="bsb"/></span>
                    <span class="spacing"><label>ACCOUNT：</label><input type="text" name="acc"/></span>
                    <span class="spacing"><label>NAME：</label><input type="text" name="accName"/></span>
                    <span class="spacing"><label>用途：</label><select name="use">
                    	<option value="">==请选择==</option>
                        <option value="1">自动转账</option>
                        <option value="2">手动转账</option></select></span>
                    <span class="spacing"><label>状态：</label><select name="enable">
                    	<option value="">==请选择==</option>
                        <option value="1">启用</option>
                        <option value="0">停用</option></select></span>    
                    <span class="spacing"><input type="submit" id="queryButton" value="查询"/></span>
                </form>
            </div>
        </div>
        <table id="grid" data-options="url:'cbaacc/list.html',method:'post'" title="付款账户列表">
            <thead>
                <th data-options="field:'bsb',width:100,resizable:true,align:'left'">BSB</th>
                <th data-options="field:'acc',width:100,resizable:true,align:'left'">ACCOUNT</th>
                <th data-options="field:'accName',width:80,resizable:true,align:'left'">NAME</th>
                <th data-options="field:'use',width:80,resizable:true,align:'left',formatter:formatter.use">用途</th>
                <th data-options="field:'enable',width:80,resizable:true,align:'left',formatter:formatter.enable">状态</th>
                <th data-options="field:'opt',width:100,resizable:true,align:'center',formatter:formatter.opt">操作</th>
            </thead>
        </table>
    </div>
    <div class="hide-panel">
        <div id="cbaaccEditDialog" style="width:600px;height:250px;" data-options="resizable:false,modal:true,closed: true">
            <form id="cbaaccEditForm" class="form_style" method="post" onsubmit="return false;">
            	<input type="hidden" name="id" id="id" />
                <div class="form-field">
                    <label for="bsb">BSB：<font color="red">*</font></label>
                    <input class="easyui-validatebox" type="text" name="bsb" maxlength="6" id="bsb" onkeyup="value=value.replace(/[^\d]/g,'')" data-options="required:true"/>
                    <label for="account">ACCOUNT：<font color="red">*</font></label>
                    <input class="easyui-validatebox" type="text" name="acc" id="acc" maxlength="9" onchange="value=value.replace(/[^A-Za-z0-9]/g,'')" data-options="required:true"/>
                </div>
                <div class="form-field">
                    <label for="accName">NAME：<font color="red">*</font></label>
                    <input class="easyui-validatebox" type="text" name="accName" maxlength="32" id="accName" onchange="value=value.replace(/[^\x20-\x7E]/g,'')" data-options="required:true"/>
                    <label for="remark">备注：</label>
                    <input class="easyui-validatebox" type="text" id="remark" name="remark" />
                </div>
                <div class="form-field">
                    <label for="use">用途：</label>
                    <select name="use" id="use">
                    	<option value="1">自动转账</option>
                        <option value="2">手动转账</option>
                    </select>
                    <label for="enable">启用支付：</label>
                   <select name="enable" id="enable">
                    	<option value="1">启用</option>
                        <option value="0">停用</option>
                    </select>
                </div>
            </form>
        </div>
    </div>
</body>
</html>
</@compress>
